package itcz.example.pattern.create_action.builder.demo1;

/**
 * @ClassName: MobileBuilder
 * @Author: ITCZ
 * @Date: 2025-04-20
 * @Description: 具体的构建者，用来构建摩拜单车对象
 */
public class MobileBuilder extends Builder {
    @Override
    public void buildFrame() {
       bike.setFrame("摩拜单车车架");
    }

    @Override
    public void buildSeat() {
        bike.setSeat("摩拜单车车座");
    }

    @Override
    public Bike createBike() {
        return bike;
    }
}
